#mkdir gyro
## shellcheck disable=SC2164
#cd gyro
echo rock | sudo -S sudo apt-get update
sudo apt-get upgrade -y

sudo apt-get install lxde -y

echo rock | sudo -S ls

sudo apt-get install python3-pip -y
sudo apt-get install cmake build-essential qt5-default qtcreator -y
sudo apt install qt5-qmake qtbase5-dev qtbase5-dev qtdeclarative5-dev qtwebengine5-dev kwin-dev qml-module-qt-labs-platform -y
sudo apt-get update -y
sudo apt-get install python3-pyqt5 -y
sudo pip3 install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple
sudo pip3 install --upgrade setuptools -i https://pypi.tuna.tsinghua.edu.cn/simple
sudo pip3 install --upgrade wheel -i https://pypi.tuna.tsinghua.edu.cn/simple
sudo pip3 install pyinstaller -i https://pypi.tuna.tsinghua.edu.cn/simple
sudo pip3 install PyOpenGL PyOpenGL_accelerate -i https://pypi.douban.com/simple

sudo pip3 install -r requirements.txt -i https://pypi.douban.com/simple

sudo apt-get upgrade -y

sudo cp -rf BOEVXAPyTester.desktop ~/.config/autostart/
sudo chmod 777 ~/.config/autostart/BOEVXAPyTester.desktop
sudo cp -rf lightdm.conf /etc/lightdm/

sudo cp -af autostartBOEVXA.sh ~/gyro/

echo "end"